package fl.ass.service.dao;

import cn.cmm.base.framework.exception.BaseException;
import fl.ass.facade.condition.AssDealSellQueryCondition;
import fl.ass.facade.dto.AssDealSellDTO;
import fl.ass.facade.dto.AssDealSellLossDTO;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import cmm.mid.core.framework.page.Pager;
import cmm.service.core.framework.dao.IBaseDao;
import fl.ass.service.po.AssDealSell;

/**
 *  @Description: 处置-变卖（事业部及优车） 持久层
 *  @Description: 持久层方法名称前缀：新增：insert* 删除：delete* 修改：update* 批量：batch* 查询对象：select* get* find* 查询集合：select*
 */
public interface AssDealSellMapper extends IBaseDao<AssDealSell,AssDealSellQueryCondition>{

	public List<Map<String,Object>> selectInfoById(@Param("id")Long id);
	 /**
     * 分页查询所有变卖亏损信息
     * @param page
     * @return
     */
	public List<AssDealSellLossDTO> AssDealSellLossByPage(Pager page);

    Long addWithId(AssDealSell eneity) throws BaseException;
	
}
